package org.dudemonkey.jvm.concurrency.chp1;

import java.util.concurrent.Callable;

public class CallerTask implements Callable<String> {
    @Override
    public String call() throws Exception {
        System.out.println(this.getClass().getName()+" is calling "+Thread.currentThread().getName());
        Thread.sleep(1000*5);
        return "hello ~~~";
    }
}
